#include<fstream>
#include<iostream>
using namespace std;

int arr[2]={99,10};

int main()
{
	//	ofstream os("test.dat");
		ofstream os("test.dat",ios_base::binary);
		cout<<sizeof(arr)<<endl;
		os.write((char*)arr,sizeof(arr));
		//os.write((char*)arr,4);
}
